<template>
  <div class="px-1 text-center rounded text-white" :style="{ background: nursingGrade[iconCode] }">{{ iconCode }}</div>
</template>

<script setup>
import { nursingGrade } from '@/utils/enums'

defineProps({
  iconCode: {
    type: String,
    default: ''
  }
})
</script>
<style lang="less" scoped></style>
